﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using HCQ2_Model.APPModel.ParamModel;

namespace HCQ2_Model.VR.Params
{
    public class VRTreeModel: BaseDDAPI
    {
        /// <summary>
        ///  目录id
        /// </summary>
        public int folder_id { get; set; }
        /// <summary>
        ///  父id
        /// </summary>
        public int pid { get; set; }
        /// <summary>
        ///  序号
        /// </summary>
        public int folder_order { get; set; }
        /// <summary>
        ///  产品类别
        ///  1=VR作品、
        ///  2=金课、
        ///  3=头记、
        ///  4=校史馆
        /// </summary>
        public int pro_type { get; set; } = 1;
        /// <summary>
        ///  是否全员共享
        ///  1：共享
        ///  0：不共享
        /// </summary>
        public int is_share { get; set; }
        /// <summary>
        ///  目录名称
        /// </summary>
        [Required(ErrorMessage = "folder_name：目录名称必填项！")]
        public string folder_name { get; set; }
        /// <summary>
        ///  英文名称
        /// </summary>
        public string folder_ename { get; set; }
        /// <summary>
        ///  分组名称
        /// </summary>
        public string group_name { get; set; }
        /// <summary>
        ///  所属类别
        /// 素材：VRManager
        /// 组件：VRModule
        /// 作品：VRWorks
        /// 度度圈：DDCircle
        /// 楼宇：VRBuilding
        /// 忆度元宇宙素材：QDMaterial
        /// </summary>
        public string page_type { get; set; } = "VRWorks";
        /// <summary>
        ///  备注
        /// </summary>
        public string folder_note { get; set; }
        /// <summary>
        ///  64位图片字符串
        /// </summary>
        public string picFile { get; set; }
        /// <summary>
        ///  是否推荐
        ///  1：推荐
        ///  0：不推荐
        /// </summary>
        public int is_recommend { get; set; }
    }
    /// <summary>
    ///  修改目录树导航树模型
    /// </summary>
    public class VRTreeModelPicture: BaseDDAPI
    {
        /// <summary>
        ///  导航树id
        /// </summary>
        public int folder_id { get; set; }
        /// <summary>
        ///  64位图片字符串
        /// </summary>
        public string picFile { get; set; }
    }
    public class VRParentTreeModel : BaseDDAPI
    {
        /// <summary>
        ///  导航树id
        /// </summary>
        public int folder_id { get; set; }
        /// <summary>
        ///  父目录id
        /// </summary>
        public int pid { get; set; }
    }
}